package csc.fresher.bankservice;

import java.util.List;

import csc.fresher.domain.History;
import csc.fresher.domain.Role;
import csc.fresher.domain.Status;
import csc.fresher.domain.UserInfo;
import csc.fresher.domain.json.UserTemp;

public interface BankService {
	
	public UserInfo getUserInfo(String loginId);
	
	public UserTemp getUserTest(String loginId);
	
	public List<UserInfo> userInfos();
	
	public boolean save(UserInfo userInfo);
	
	public boolean update(UserInfo userInfo);
	
	public boolean checkLoginId(String loginId);
	
	public List<UserInfo> userNomal();
	
	public List<UserInfo> usernew();
	
	public List<UserInfo> useractive();
	
	public List<UserInfo> userdisable();
	
	public UserInfo getUserAuthentication(String loginId);
	
	public int addHistory(History history);
	
	public History getHistory(int id);
	
	public boolean saveOrUpdate(History history);
	
	public List<History> histories();
	
	public Status getStatus(int statusId);
	
	public Role getRole(int roleId);
	
	public String hashPasswordSHA(String password);

}
